package com.situ.mall.service;

import com.situ.mall.pojo.entity.Shipping;
import com.situ.mall.pojo.entity.TmArea;
import com.situ.mall.pojo.entity.TmCity;
import com.situ.mall.pojo.entity.TmProvince;

import java.util.List;

public interface IShippingService {
    List<Shipping> ListByUerId(Integer userId);

    List<TmProvince> selectProvince();

    List<TmCity> selectCity(Integer provinceId);

    List<TmArea> selectArea(Integer cityId);

    String selectProvinceName(Integer provinceId);

    String selectCityName(Integer cityId);

    String selectAreaName(Integer areaId);

    void updateCheckedAll(Integer userId);

    void add(Shipping shipping);

    void updateDefault(Shipping shipping);

    Shipping selectById(Integer id);

    void update(Shipping shipping);

    Shipping shippingById(Integer shippingId);

    Shipping ShippingByOrderNo(Long orderNo);

    void delete(Shipping shipping);
}
